package com.haoze.nurseapp.service;

import com.haoze.common.response.Result;
import com.haoze.nurseapp.dto.MedicineApplyDTO;
import com.haoze.nurseapp.dto.PrescApplyDTO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @author lufq
 * @date 2020/9/17
 */
public interface MedicineApplyService {
    Result waitMedicineList(String wardDeptId, String type,Integer pageNum,Integer pageSize,String inpatList);
    Result queryPharmacyByWardDeptId(String wardDeptId,String flag);
    Result saveMedicineApply(MedicineApplyDTO medicineApplyDTO);
    Result confirmTips(MedicineApplyDTO medicineApplyDTO);
    Result queryToBeReceivedMedicineList(String type,String wardDeptId,String inpatList,Integer pageNum,Integer pageSize,String pharmacy);
    Result deleteMedicineApply(String applyIdList,String type);
    void updateDrugApplyMainStatus();

    Result queryPatientPresc(String inpatNum,int page,int pageSize);
    Result queryPatientPrescDetail(String prescNums);
    Result noCompleteOrders(String inpatNum,String type,String orderId);
    Result savePrescription(PrescApplyDTO prescApplyDTO);
    Result confirmPatientPresc(String prescNums,String confirmFlag);
}
